//
//  UIView+function.h
//  NewsReader
//
//  Created by 杨乐 on 16/4/29.
//  Copyright © 2016年 GaoSir_. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XibCache : NSObject;
- (UIView *)getViewKey:(NSString *)key atIndex:(int)index;
@end

@interface UIView (function)
+ (instancetype)initWithXIB:(NSString *)name;
+ (instancetype)initWithXIB:(NSString *)name atIndex:(int)index;
+ (instancetype)xib;
+ (instancetype)xibIndex:(int)index;
@end
